package com.zcm.common.config;

import java.util.HashMap;
import java.util.Map;

public class Constant {


	public static final String SESSION_ID = "sessionId";
	/**
	 * 私钥。跟客户端的公钥配套（不要去修改。改变一个两边都要改）
	 * 对应公钥：MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCXFHNYpPPMlUw88VCffi/6T+/AdIpsGTqUeHmUMo45zwRBgjsbIR11qalktz3DbixdKx8g+iX8P36q+HjM64gBW9VY17OA1fsdTaLF8tFUEWWm8T1LJWBRSdjldHDqmzKUIli2y91hxdtpZEWegxpqv/0n2uJ8gGDGk6rffrAPQwIDAQAB
	 */
	public static final String PRIVATE_KEY = "MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBAJcUc1ik88yVTDzxUJ9+L/pP78B0imwZOpR4eZQyjjnPBEGCOxshHXWpqWS3PcNuLF0rHyD6Jfw/fqr4eMzriAFb1VjXs4DV+x1NosXy0VQRZabxPUslYFFJ2OV0cOqbMpQiWLbL3WHF22lkRZ6DGmq//Sfa4nyAYMaTqt9+sA9DAgMBAAECgYB2kG4VWx6Zp3E1QoxrHrS4VJNrDgqz2vjGG+YOD77eT0CfyHxqRgrAlG2DxOqLvKLEW1sKnkXBOHNH6cejyhPo/rV2+xyvANfZmQXv4XtiM1v+bEi1lGUlbPJD+NKFFApkcnX8qf9n1n+fatiS0rnQ1dRJnr3a0bqFFT1Xw5jHgQJBAPx2PQ88gWPwo8HXmb+X1iFyPBO0oAZEp8MdmcfHJOfZ9swoCQ5xdaz6RF8YaRVr1PZYNL3B+Wr5nK9KOpaUvlsCQQCZMnt3dB7LuGT+rOfAzoSsTm+kb9oA6UgJnr2LBezZse1t80gAQiRzykxt5vBTN/wV/iXywvfWLsj488Cn/pc5AkBO55mP4IZEORrFY+AuzILlczGpqwN00hJo3iCJGwnC2RHUnxKti/KOfK3P1u5I/qnR0KGzSSPuNlOtSZLkK1sPAkA+JYaErOyZRBJkZgwV4TFdHOyZTm6nk/sPPAA0V5D/tvhUdC6vPCXBez2KD/dKKxnuag1G7+TOVGhe5bMv802xAkEAttRVoMMmpJe0tzxlYWF/bxBZIRDQmBLvI7pJp6Sc4+A5opCcCMBdEq1r5UQyassclRTd//h5zObZWweu/XDqUQ==";

	public static final String DUODUO_MPKEY = "蔡天真";
	public static final String DUODUO_MPACCOUNT = "公众号 蔡天真";

	public static Map<String,String> mapTypes = new HashMap<String, String>(){{
		put("board_stock","boardStockTask");
		put("boom_stock","boomStockTask");
		put("board-down","boardDownTask");
		put("board-preday","boardPredayTask");
		put("multi_stock","multiStockTask");
		put("real","realTask");
		put("quote_change","quoteChangeTask");
	}};
	/**
	 * 显示/隐藏
	 */
	public static final String SHOW = "1";
	public static final String HIDE = "0";


	/**
	 * 是/否
	 */
	public static final String YES = "1";
	public static final String NO = "0";

	/**
	 * 对/错
	 */
	public static final String TRUE = "true";
	public static final String FALSE = "false";

	/**
	 * 上传文件基础虚拟路径
	 */
	public static final String USERFILES_BASE_URL = "/userfiles/";

	/**
	 *
	 * @description 机构类型（字典表中定义center_companyType）
	 * @version 1.0
	 * @author ywj
	 * @update 2017年8月28日 上午8:49:37
	 */
	public static interface COMPANY_TYPE {
		// 基金
		public static final String FUNDATION = "0";
		// 众创空间
		public static final String PUBLIC_RECORD = "1";
		//企业
		public static final String COMPANY = "2";
		//高校
		public static final String UNIVERSITIES = "3";
		//协会
		public static final String ASSOCIATION = "4";
		//省直单位
		public static final String PROVINCE = "5";
	}


	public static class FILETYPE
	{
		public static final String EXCEL = "EXCEL";
		public static final String WORD = "WORD";
		public static final String TXT = "TXT";
		public static final String CAL = "CAL";
		public static final String PDF = "PDF";
		public static final String DBF = "DBF";
	}
}

